﻿BusinessDataItemBuilder
__BEGIN123xyz
<AllUsersWebPart ID="BusinessDataItemBuilder" WebPartOrder="0" WebPartZoneID="Left">
        <![CDATA[ 

<WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
  <Title>Business Data Item Builder</Title>
  <FrameType>Default</FrameType>
  <Description>Creates a Business Data item from parameters in the query string and provides it to other Web Parts.</Description>
  <IsIncluded>true</IsIncluded>
  <ZoneID>Header</ZoneID>
  <PartOrder>0</PartOrder>
  <FrameState>Normal</FrameState>
  <Height />
  <Width />
  <AllowRemove>true</AllowRemove>
  <AllowZoneChange>true</AllowZoneChange>
  <AllowMinimize>true</AllowMinimize>
  <AllowConnect>true</AllowConnect>
  <AllowEdit>true</AllowEdit>
  <AllowHide>true</AllowHide>
  <IsVisible>true</IsVisible>
  <DetailLink />
  <HelpLink />
  <HelpMode>Modeless</HelpMode>
  <Dir>Default</Dir>
  <PartImageSmall>/_layouts/images/bizdatawebpart.gif</PartImageSmall>
  <MissingAssembly />
  <PartImageLarge>/_layouts/images/bizdatawebpart.gif</PartImageLarge>
  <IsIncludedFilter />
  <Hidden>false</Hidden>
  <AuthorizationFilter>
  </AuthorizationFilter>
  <Assembly>Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
  <TypeName>Microsoft.SharePoint.Portal.WebControls.BusinessDataItemBuilder</TypeName>
</WebPart>
                 ]]>
      </AllUsersWebPart>
__END123xyz
BusinessDataItem
__BEGIN123xyz
<AllUsersWebPart ID="$WebPartName$" WebPartZoneID="$Zone$" WebPartOrder="$WebPartOrder$">
  <![CDATA[ 

<webParts>
  <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
    <metaData>
      <type name="Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsWebPart, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <importErrorMessage>Cannot import this web part.</importErrorMessage>
    </metaData>
    <data>
      <properties>
        <property name="ChromeType" type="chrometype">Default</property>
        <property name="ShowWithSampleData" type="bool">False</property>
        <property name="XmlDefinitionLink" type="string" />
        <property name="Default" type="string" />
        <property name="NoDefaultStyle" type="string">TRUE</property>
        <property name="LobSystemInstanceName" type="string">$LobSystempInstanceroperty$</property>  
         <property name="DeselectedFields" type="System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">&lt;?xml version="1.0" encoding="utf-16"?&gt;
          &lt;ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" &gt;
$Entityfieldsproperty1$
          &lt;/ArrayOfString&gt;</property>
        <property name="ViewContentTypeId" type="string" />
        <property name="EntityId" type="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">11103</property>
        <property name="ManualRefresh" type="bool">False</property>
        <property name="ListUrl" type="string" null="true" />  
        <property name="Title" type="string">$EntityNameproperty$</property>     
        <property name="Height" type="string" />
        <property name="TitleUrl" type="string" />
        <property name="SampleData" type="string" null="true" />
        <property name="Hidden" type="bool">False</property>
        <property name="ViewFlags" type="Microsoft.SharePoint.SPViewFlags, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">None</property>
        <property name="AllowConnect" type="bool">True</property>
        <property name="SpecificFinderName" type="string" />
        <property name="HelpUrl" type="string" />
        <property name="DataSourceID" type="string" />
        <property name="ListName" type="string" />
        <property name="AllowZoneChange" type="bool">True</property>
        <property name="ShouldDisplayToolBar" type="bool">False</property>
        <property name="EntityName" type="string">$EntityNameproperty$</property>
        <property name="ViewFlag" type="string">0</property>
        <property name="AllowHide" type="bool">True</property>
        <property name="ExportMode" type="exportmode">All</property>
        <property name="ListId" type="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">00000000-0000-0000-0000-000000000000</property>
        <property name="AutoRefreshInterval" type="int">60</property>
        <property name="AllowEdit" type="bool">True</property>
        <property name="Description" type="string">Displays one item from a data source in Business Data Connectivity.</property>
        <property name="AllowMinimize" type="bool">True</property> 
        <property name="EntityNamespace" type="string">$EntityNameSpaceproperty$</property>     
        <property name="ShouldDisplayStreamData" type="bool">True</property>
        <property name="Xsl" type="string">&lt;xsl:stylesheet version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.Sharepoint.WebControls"&gt;
          &lt;xsl:output method="html" indent="no" /&gt;
          &lt;xsl:param name="PreviousLinkText"&gt;Previous&lt;/xsl:param&gt;
          &lt;xsl:param name="NextLinkText"&gt;Next&lt;/xsl:param&gt;
          &lt;xsl:param name="EditViewText"&gt;Edit View&lt;/xsl:param&gt;
          &lt;xsl:param name="AscendingText"&gt;Ascending&lt;/xsl:param&gt;
          &lt;xsl:param name="DescendingText"&gt;Descending&lt;/xsl:param&gt;
          &lt;xsl:param name="RetrieveDataText"&gt;Retrieve Data&lt;/xsl:param&gt;
          &lt;xsl:param name="ActionsText"&gt;Actions&lt;/xsl:param&gt;
          &lt;xsl:param name="FilterNameText"&gt;Filter name&lt;/xsl:param&gt;
          &lt;xsl:param name="OperatorText"&gt;Operator&lt;/xsl:param&gt;
          &lt;xsl:param name="AddText"&gt;Add&lt;/xsl:param&gt;
          &lt;xsl:param name="CurrentLCID"&gt;1033&lt;/xsl:param&gt;
          &lt;xsl:param name="OpenMenuToolTip"&gt;Open Menu&lt;/xsl:param&gt;
          &lt;xsl:param name="DataTableSummary"&gt;Entity Summary&lt;/xsl:param&gt;
          &lt;xsl:param name="SelectionRadioButtonToolTip"&gt;Pick Item&lt;/xsl:param&gt;
          &lt;xsl:param name="DownloadStreamText"&gt;Click here to download&lt;/xsl:param&gt;
          &lt;xsl:param name="IsRTL"&gt;
          &lt;/xsl:param&gt;
          &lt;xsl:param name="dvt_apos"&gt;'&lt;/xsl:param&gt;
          &lt;xsl:param name="dvt_adhocmode"&gt;sort&lt;/xsl:param&gt;
          &lt;xsl:param name="ClickThroughUrl" /&gt;
          &lt;xsl:param name="DownloadExternalDataUrl" /&gt;
          &lt;xsl:param name="dvt_url" /&gt;
          &lt;xsl:param name="jsMenuApplication" /&gt;
          &lt;xsl:param name="jsMenuEntityNamespace" /&gt;
          &lt;xsl:param name="jsMenuEntityName" /&gt;
          &lt;xsl:param name="jsMenuLoadingMessage" /&gt;
          &lt;xsl:param name="dvt_1_automode"&gt;0&lt;/xsl:param&gt;
          &lt;xsl:param name="filterParam" /&gt;
          &lt;xsl:param name="dvt_firstrow"&gt;1&lt;/xsl:param&gt;
          &lt;xsl:param name="dvt_nextpagedata" /&gt;
          &lt;xsl:param name="IsMenuVisible" /&gt;
          &lt;xsl:param name="IsEditViewVisible" /&gt;
          &lt;xsl:param name="dvt_partguid" /&gt;
          &lt;xsl:param name="ColumnKey"&gt;Kunnr&lt;/xsl:param&gt;
          &lt;xsl:param name="dvt_1_form_selectkey" /&gt;
          &lt;xsl:param name="dvt_sortdir"&gt;ascending&lt;/xsl:param&gt;
          &lt;xsl:param name="dvt_sortfield" /&gt;
          &lt;xsl:param name="dvt_emptytext"&gt;
          &lt;/xsl:param&gt;
          &lt;xsl:param name="dvt_filterfields" /&gt;
$Entityfieldsproperty3$
          &lt;xsl:template match="/"&gt;
          &lt;xsl:call-template name="dvt_1" /&gt;
          &lt;/xsl:template&gt;
          &lt;xsl:template name="dvt_1"&gt;
          &lt;xsl:variable name="dvt_StyleName"&gt;RepForm3&lt;/xsl:variable&gt;
          &lt;xsl:variable name="Rows" select="/dsQueryResponse/NewDataSet/Row" /&gt;
          &lt;xsl:variable name="dvt_RowCount" select="count($Rows)" /&gt;
          &lt;xsl:variable name="RowLimit" select="$dvt_RowCount" /&gt;
          &lt;xsl:variable name="FirstRow" select="$dvt_firstrow" /&gt;
          &lt;xsl:variable name="LastRow"&gt;
          &lt;xsl:choose&gt;
          &lt;xsl:when test="($FirstRow + $RowLimit - 1) &amp;gt; $dvt_RowCount"&gt;
          &lt;xsl:value-of select="$dvt_RowCount" /&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$FirstRow + $RowLimit - 1" /&gt;
          &lt;/xsl:otherwise&gt;
          &lt;/xsl:choose&gt;
          &lt;/xsl:variable&gt;
          &lt;div&gt;
          &lt;asp:PlaceHolder id="ActionBarTable" runat="server"&gt;
          &lt;table class="ms-toolbar" cellpadding="0" cellspacing="0" border="0" width="100%"&gt;
          &lt;tr style="height:2em"&gt;
          &lt;td valign="middle" style="padding-left:2px"&gt;
          &lt;img src="/_layouts/{$CurrentLCID}/images/viewprof.gif" border="0" alt="" /&gt;
          &lt;/td&gt;
          &lt;td valight="middle" style="padding-left:2px; width:100%;"&gt;
          &lt;a href="#"&gt;View Profile&lt;/a&gt;
          &lt;/td&gt;
          &lt;/tr&gt;
          &lt;/table&gt;
          &lt;/asp:PlaceHolder&gt;
          &lt;/div&gt;
          &lt;table border="0" width="100%"&gt;
          &lt;xsl:attribute name="summary"&gt;
          &lt;xsl:value-of select="$DataTableSummary" /&gt;
          &lt;/xsl:attribute&gt;
          &lt;xsl:call-template name="dvt_1.body"&gt;
          &lt;xsl:with-param name="Rows" select="$Rows" /&gt;
          &lt;xsl:with-param name="FirstRow" select="$dvt_firstrow" /&gt;
          &lt;xsl:with-param name="LastRow" select="$LastRow" /&gt;
          &lt;/xsl:call-template&gt;
          &lt;/table&gt;
          &lt;/xsl:template&gt;
          &lt;xsl:template name="dvt_1.body"&gt;
          &lt;xsl:param name="Rows" /&gt;
          &lt;xsl:param name="FirstRow" /&gt;
          &lt;xsl:param name="LastRow" /&gt;
          &lt;xsl:for-each select="$Rows"&gt;
          &lt;xsl:call-template name="dvt_1.rowview" /&gt;
          &lt;/xsl:for-each&gt;
          &lt;/xsl:template&gt;
          &lt;xsl:template name="dvt_1.rowview"&gt;
          &lt;tr&gt;
          &lt;td&gt;
          &lt;table border="0" width="100%"&gt;          
$Entityfieldsproperty4$
          &lt;/table&gt;
          &lt;/td&gt;
          &lt;/tr&gt;
          &lt;/xsl:template&gt;
          &lt;xsl:template name="formatString"&gt;
          &lt;xsl:param name="stringvalue" /&gt;
          &lt;xsl:param name="separator" /&gt;
          &lt;xsl:variable name="curStr" select="substring-after($stringvalue, $separator)" /&gt;
          &lt;xsl:choose&gt;
          &lt;xsl:when test="contains($curStr, $separator)"&gt;
          &lt;xsl:value-of select="substring-before($stringvalue, $separator)" /&gt;
          &lt;xsl:value-of select="ddwrt:UrlEncode(@*[name()=substring-before($curStr, $separator)])" /&gt;
          &lt;xsl:call-template name="formatString"&gt;
          &lt;xsl:with-param name="stringvalue" select="substring-after($curStr, $separator)" /&gt;
          &lt;xsl:with-param name="separator" select="$separator" /&gt;
          &lt;/xsl:call-template&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$stringvalue" /&gt;
          &lt;/xsl:otherwise&gt;
          &lt;/xsl:choose&gt;
          &lt;/xsl:template&gt;
          &lt;xsl:template name="OpenActionsMenu"&gt;
          &lt;xsl:param name="method" /&gt;
          &lt;xsl:param name="id" /&gt;
          &lt;xsl:param name="menuText" /&gt;
          &lt;xsl:value-of select="$method" /&gt;
          &lt;xsl:text&gt;('&lt;/xsl:text&gt;
          &lt;xsl:value-of select="$jsMenuLoadingMessage" /&gt;
          &lt;xsl:text&gt;','&lt;/xsl:text&gt;
          &lt;xsl:value-of select="ddwrt:EcmaScriptEncode($menuText)" /&gt;
          &lt;xsl:text&gt;',false,'&lt;/xsl:text&gt;
          &lt;xsl:value-of select="$jsMenuApplication" /&gt;
          &lt;xsl:text&gt;','&lt;/xsl:text&gt;
          &lt;xsl:value-of select="$jsMenuEntityNamespace" /&gt;
          &lt;xsl:text&gt;','&lt;/xsl:text&gt;
          &lt;xsl:value-of select="$jsMenuEntityName" /&gt;
          &lt;xsl:text&gt;','&lt;/xsl:text&gt;
          &lt;xsl:value-of select="ddwrt:EcmaScriptEncode($id)" /&gt;
          &lt;xsl:text&gt;', event);&lt;/xsl:text&gt;
          &lt;/xsl:template&gt;
          &lt;xsl:template name="_trimLF"&gt;
          &lt;xsl:param name="input" /&gt;
          &lt;xsl:choose&gt;
          &lt;xsl:when test="starts-with($input, '&amp;#xA;')"&gt;
          &lt;xsl:call-template name="_trimLF"&gt;
          &lt;xsl:with-param name="input" select="substring($input, 2)" /&gt;
          &lt;/xsl:call-template&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:when test="substring($input, string-length($input), 1) = '&amp;#xA;'"&gt;
          &lt;xsl:call-template name="_trimLF"&gt;
          &lt;xsl:with-param name="input" select="substring($input, 1, string-length($input)-1)" /&gt;
          &lt;/xsl:call-template&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$input" /&gt;
          &lt;/xsl:otherwise&gt;
          &lt;/xsl:choose&gt;
          &lt;/xsl:template&gt;
          &lt;xsl:template name="_LFtoBRloop"&gt;
          &lt;xsl:param name="input" /&gt;
          &lt;xsl:variable name="beforeText" select="substring-before($input, '&amp;#xA;')" /&gt;
          &lt;xsl:choose&gt;
          &lt;xsl:when test="string-length($beforeText) = 0 and substring($input, 1, 1) != '&amp;#xA;'"&gt;
          &lt;xsl:value-of select="$input" /&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$beforeText" /&gt;
          &lt;br /&gt;
          &lt;xsl:call-template name="_LFtoBRloop"&gt;
          &lt;xsl:with-param name="input" select="substring($input, string-length($beforeText)+2)" /&gt;
          &lt;/xsl:call-template&gt;
          &lt;/xsl:otherwise&gt;
          &lt;/xsl:choose&gt;
          &lt;/xsl:template&gt;
          &lt;xsl:template name="LFtoBR"&gt;
          &lt;xsl:param name="input" /&gt;
          &lt;xsl:choose&gt;
          &lt;xsl:when test="substring-before($input, '&amp;#xA;') = ''"&gt;
          &lt;xsl:value-of select="$input" /&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
          &lt;xsl:call-template name="_LFtoBRloop"&gt;
          &lt;xsl:with-param name="input"&gt;
          &lt;xsl:call-template name="_trimLF"&gt;
          &lt;xsl:with-param name="input" select="translate($input, '&amp;#xD;', '')" /&gt;
          &lt;/xsl:call-template&gt;
          &lt;/xsl:with-param&gt;
          &lt;/xsl:call-template&gt;
          &lt;/xsl:otherwise&gt;
          &lt;/xsl:choose&gt;
          &lt;/xsl:template&gt;
          &lt;/xsl:stylesheet&gt;</property>
   <property name="ChromeState" type="chromestate">Normal</property>
        <property name="CatalogIconImageUrl" type="string">/_layouts/images/bizdatawebpart.gif</property>
        <property name="HelpMode" type="helpmode">Modeless</property>
        <property name="TitleIconImageUrl" type="string" />
        <property name="PageSize" type="int">-1</property>
        <property name="Fields" type="System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">&lt;?xml version="1.0" encoding="utf-16"?&gt;
          &lt;ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
$Entityfieldsproperty2$
          &lt;/ArrayOfString&gt;</property>
        <property name="Width" type="string" />
        <property name="UseSQLDataSourcePaging" type="bool">True</property>
        <property name="DeselectedActions" type="System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">&lt;?xml version="1.0" encoding="utf-16"?&gt;
          &lt;ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
          &lt;/ArrayOfString&gt;</property>
        <property name="PageType" type="Microsoft.SharePoint.PAGETYPE, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">PAGE_NORMALVIEW</property>
        <property name="DataSourcesString" type="string">&lt;%@ Register TagPrefix="cc1" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;&lt;cc1:BdcDataSource runat="server" UpdateCommand="" ShowSampleData="False" Mode="Item" EntityName="$EntityNameproperty$" Enabled="True" EntityId="0" EntityNamespace="$EntityNameSpaceproperty$" LobSystemInstanceName="$LobSystempInstanceroperty$" InsertCommand="" DeleteCommand="" SelectCommand=""&gt;&lt;/cc1:BdcDataSource&gt;
        </property>
        <property name="InitialAsyncDataFetch" type="bool">False</property>
        <property name="MissingAssembly" type="string">Cannot import this web part.</property>
        <property name="ItemIDFromQuery" type="bool">False</property>
        <property name="ShouldDisplayAnimation" type="bool">True</property>
        <property name="CacheXslStorage" type="bool">True</property>
        <property name="DisplayName" type="string" />
        <property name="XslLink" type="string" null="true" />
        <property name="AllowClose" type="bool">True</property>
        <property name="XmlDefinition" type="string" />
        <property name="SerializedVersion" type="int">0</property>
        <property name="SelectedActions" type="System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">&lt;?xml version="1.0" encoding="utf-16"?&gt;
          &lt;ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" &gt;
          &lt;/ArrayOfString&gt;</property>        
        <property name="ParameterBindings" type="string" null="true" />
        <property name="AutoRefresh" type="bool">False</property>
        <property name="DisplayNewActions" type="bool">False</property>
        <property name="AsyncRefresh" type="bool">False</property>
        <property name="DataFields" type="string" />
        <property name="ItemID" type="string" null="true" />
        <property name="ListDisplayName" type="string" null="true" />
        <property name="Direction" type="direction">NotSet</property>
        <property name="CacheXslTimeOut" type="int">600</property>
      </properties>
    </data>
  </webPart>
</webParts>
                ]]>
</AllUsersWebPart>
__END123xyz
BusinessDataRelatedList
__BEGIN123xyz
<AllUsersWebPart ID="$WebPartName$" WebPartZoneID="$Zone$" WebPartOrder="$WebPartOrder$">
  <![CDATA[

<webParts>
  <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
    <metaData>
      <type name="Microsoft.SharePoint.Portal.WebControls.BusinessDataAssociationWebPart, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <importErrorMessage>Unable to import webpart</importErrorMessage>
    </metaData>
    <data>
      <properties>
        <property name="ChromeType" type="chrometype">Default</property>
        <property name="ShowWithSampleData" type="bool">False</property>
        <property name="FinderName" type="string" null="true" />
        <property name="Default" type="string" />
        <property name="NoDefaultStyle" type="string">TRUE</property>
        <property name="EntityName" type="string">$EntityNameproperty$</property>
        <property name="LobSystemInstanceName" type="string">$LobSystempInstanceroperty$</property>
        <property name="ViewContentTypeId" type="string" />
        <property name="EntityId" type="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">10618</property>
        <property name="ManualRefresh" type="bool">False</property>
        <property name="ListUrl" type="string" null="true" />
        <property name="Height" type="string" />
        <property name="TitleUrl" type="string" />
        <property name="SampleData" type="string" null="true" />
        <property name="Hidden" type="bool">False</property>
        <property name="ViewFlags" type="Microsoft.SharePoint.SPViewFlags, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">None</property>
        <property name="AllowConnect" type="bool">True</property>
        <property name="ListId" type="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">00000000-0000-0000-0000-000000000000</property>
        <property name="HelpUrl" type="string" />
        <property name="Direction" type="direction">NotSet</property>
        <property name="DataSourceID" type="string" />
        <property name="ListName" type="string" null="true" />
        <property name="AllowZoneChange" type="bool">True</property>
        <property name="ShouldDisplayToolBar" type="bool">True</property>  
        <property name="ViewFlag" type="string">0</property>
        <property name="AllowHide" type="bool">True</property>
        <property name="ExportMode" type="exportmode">All</property>
        <property name="View" type="Microsoft.SharePoint.Portal.WebControls.View, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;View xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;Name /&gt;
  &lt;AllowUserQueries&gt;false&lt;/AllowUserQueries&gt;
  &lt;SortExpression /&gt;
  &lt;MaxItemsInPage&gt;20&lt;/MaxItemsInPage&gt;
  &lt;MaxItems&gt;0&lt;/MaxItems&gt;
  &lt;Fields&gt;
$Entityfieldsproperty1$   
  &lt;/Fields&gt;
  &lt;FilterValues /&gt;
  &lt;QueryValues /&gt;
  &lt;TitleField /&gt;
  &lt;AllowPaging&gt;true&lt;/AllowPaging&gt;
  &lt;AllowItemLimiting&gt;false&lt;/AllowItemLimiting&gt;
  &lt;RetrieveAllItems&gt;true&lt;/RetrieveAllItems&gt;
  &lt;DisplayStreamableFields&gt;true&lt;/DisplayStreamableFields&gt;
&lt;/View&gt;</property>
        <property name="AllowEdit" type="bool">True</property>
        <property name="Description" type="string">Related Items</property>
        <property name="AllowMinimize" type="bool">True</property>
        <property name="EntityNamespace" type="string">$EntityNameSpaceproperty$</property>
        <property name="ShouldDisplayStreamData" type="bool">True</property>
        <property name="Xsl" type="string">&lt;xsl:stylesheet version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.Sharepoint.WebControls"&gt;
  &lt;xsl:output method="html" indent="no" /&gt;
  &lt;xsl:param name="PreviousLinkText"&gt;Previous&lt;/xsl:param&gt;
  &lt;xsl:param name="NextLinkText"&gt;Next&lt;/xsl:param&gt;
  &lt;xsl:param name="EditViewText"&gt;Edit View&lt;/xsl:param&gt;
  &lt;xsl:param name="AscendingText"&gt;Ascending&lt;/xsl:param&gt;
  &lt;xsl:param name="DescendingText"&gt;Descending&lt;/xsl:param&gt;
  &lt;xsl:param name="RetrieveDataText"&gt;Retrieve Data&lt;/xsl:param&gt;
  &lt;xsl:param name="ActionsText"&gt;Actions&lt;/xsl:param&gt;
  &lt;xsl:param name="FilterNameText"&gt;Filter name&lt;/xsl:param&gt;
  &lt;xsl:param name="OperatorText"&gt;Operator&lt;/xsl:param&gt;
  &lt;xsl:param name="AddText"&gt;Add&lt;/xsl:param&gt;
  &lt;xsl:param name="CurrentLCID"&gt;1033&lt;/xsl:param&gt;
  &lt;xsl:param name="OpenMenuToolTip"&gt;Open Menu&lt;/xsl:param&gt;
  &lt;xsl:param name="DataTableSummary"&gt;Entity Summary&lt;/xsl:param&gt;
  &lt;xsl:param name="SelectionRadioButtonToolTip"&gt;Pick Item&lt;/xsl:param&gt;
  &lt;xsl:param name="DownloadStreamText"&gt;Click here to download&lt;/xsl:param&gt;
  &lt;xsl:param name="IsRTL"&gt;
  &lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_apos"&gt;'&lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_adhocmode"&gt;sort&lt;/xsl:param&gt;
  &lt;xsl:param name="ClickThroughUrl" /&gt;
  &lt;xsl:param name="DownloadExternalDataUrl" /&gt;
  &lt;xsl:param name="dvt_url" /&gt;
  &lt;xsl:param name="jsMenuApplication" /&gt;
  &lt;xsl:param name="jsMenuEntityNamespace" /&gt;
  &lt;xsl:param name="jsMenuEntityName" /&gt;
  &lt;xsl:param name="jsMenuLoadingMessage" /&gt;
  &lt;xsl:param name="dvt_1_automode"&gt;0&lt;/xsl:param&gt;
  &lt;xsl:param name="filterParam" /&gt;
  &lt;xsl:param name="dvt_firstrow"&gt;1&lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_nextpagedata" /&gt;
  &lt;xsl:param name="IsMenuVisible" /&gt;
  &lt;xsl:param name="IsEditViewVisible" /&gt;
  &lt;xsl:param name="dvt_partguid" /&gt;
  &lt;xsl:param name="ColumnKey"&gt;Kunnr&lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_1_form_selectkey" /&gt;
  &lt;xsl:param name="dvt_sortdir"&gt;ascending&lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_sortfield" /&gt;
  &lt;xsl:param name="dvt_emptytext"&gt;
  &lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_filterfields" /&gt;
$Entityfieldsproperty2$   
  &lt;xsl:template name="dvt.headerfield"&gt;
    &lt;xsl:param name="fieldname" /&gt;
    &lt;xsl:param name="fieldtitle" /&gt;
    &lt;xsl:param name="displayname" /&gt;
    &lt;xsl:param name="fieldtype"&gt;0&lt;/xsl:param&gt;
    &lt;xsl:variable name="sortfield"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="substring($fieldname, 1, 1) = '@'"&gt;
          &lt;xsl:value-of select="substring($fieldname, 2)" /&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$fieldname" /&gt;
        &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:variable name="linkdir"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$dvt_sortfield = $sortfield and $dvt_sortdir = 'ascending'"&gt;descending&lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;ascending&lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:variable name="sortText"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$linkdir='descending'"&gt;' + 'descending' + '&lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;' + 'ascending' + '&lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:variable name="separator" select="' '" /&gt;
    &lt;xsl:variable name="connector" select="';'" /&gt;
    &lt;xsl:variable name="filterString" select="concat($displayname,$separator,$fieldname,$separator,$fieldtype,$connector,$CurrentLCID,$separator,$dvt_partguid)" /&gt;
    &lt;table CtxNum="1" cellspacing="0" class="ms-unselectedtitle"&gt;
      &lt;xsl:if test="$fieldname"&gt;
        &lt;xsl:attribute name="onmouseover"&gt;OnMouseOverAdHocFilter(this, '&lt;xsl:value-of select="$filterString" /&gt;')&lt;/xsl:attribute&gt;
      &lt;/xsl:if&gt;
      &lt;tr&gt;
        &lt;td width="100%" class="ms-vb" nowrap=""&gt;
          &lt;xsl:choose&gt;
            &lt;xsl:when test="$fieldname"&gt;
              &lt;a&gt;
                &lt;xsl:attribute name="href"&gt;javascript: &lt;xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_sortfield={',$sortfield,'};dvt_sortdir={',$sortText,'}'))" /&gt;;&lt;/xsl:attribute&gt;
                &lt;xsl:value-of select="$fieldtitle" /&gt;
                &lt;xsl:if test="$dvt_sortfield = $sortfield"&gt;
                  &lt;xsl:choose&gt;
                    &lt;xsl:when test="$dvt_sortdir = 'ascending'"&gt;
                      &lt;img border="0" alt="{$AscendingText}" src="{ddwrt:FieldSortImageUrl('Desc')}" /&gt;
                    &lt;/xsl:when&gt;
                    &lt;xsl:when test="$dvt_sortdir = 'descending'"&gt;
                      &lt;img border="0" alt="{$DescendingText}" src="{ddwrt:FieldSortImageUrl('Asc')}" /&gt;
                    &lt;/xsl:when&gt;
                  &lt;/xsl:choose&gt;
                &lt;/xsl:if&gt;
              &lt;/a&gt;
              &lt;xsl:if test="contains($dvt_filterfields, concat($fieldname, ';' ))"&gt;
                &lt;img src="/_layouts/images/filter.gif" border="0" alt="" /&gt;
              &lt;/xsl:if&gt;
            &lt;/xsl:when&gt;
            &lt;xsl:otherwise&gt;
              &lt;xsl:value-of select="$fieldtitle" /&gt;
            &lt;/xsl:otherwise&gt;
          &lt;/xsl:choose&gt;
        &lt;/td&gt;
        &lt;td&gt;
          &lt;img src="/_layouts/images/blank.gif" width="13" style="visibility: hidden" alt="" /&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template match="/"&gt;
    &lt;xsl:call-template name="dvt_1" /&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1"&gt;
    &lt;xsl:variable name="dvt_StyleName"&gt;Table&lt;/xsl:variable&gt;
    &lt;xsl:variable name="Rows" select="/dsQueryResponse/NewDataSet/Row" /&gt;
    &lt;xsl:variable name="dvt_RowCount" select="count($Rows)" /&gt;
    &lt;xsl:variable name="RowLimit" select="20" /&gt;
    &lt;xsl:variable name="FirstRow" select="$dvt_firstrow" /&gt;
    &lt;xsl:variable name="LastRow"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="($FirstRow + $RowLimit - 1) &amp;gt; $dvt_RowCount"&gt;
          &lt;xsl:value-of select="$dvt_RowCount" /&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$FirstRow + $RowLimit - 1" /&gt;
        &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:call-template name="dvt_1.commandheader"&gt;
      &lt;xsl:with-param name="FirstRow" select="$FirstRow" /&gt;
      &lt;xsl:with-param name="LastRow" select="$LastRow" /&gt;
      &lt;xsl:with-param name="RowLimit" select="$RowLimit" /&gt;
      &lt;xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" /&gt;
    &lt;/xsl:call-template&gt;
    &lt;table id="BdwpRows" border="0" width="100%" cellpadding="2" cellspacing="0"&gt;
      &lt;xsl:attribute name="summary"&gt;
        &lt;xsl:value-of select="$DataTableSummary" /&gt;
      &lt;/xsl:attribute&gt;
      &lt;tr valign="top"&gt;
        &lt;th class="ms-vh" width="1" /&gt;
$Entityfieldsproperty3$   
      &lt;/tr&gt;
      &lt;xsl:call-template name="dvt_1.body"&gt;
        &lt;xsl:with-param name="Rows" select="$Rows" /&gt;
        &lt;xsl:with-param name="FirstRow" select="$dvt_firstrow" /&gt;
        &lt;xsl:with-param name="LastRow" select="$LastRow" /&gt;
      &lt;/xsl:call-template&gt;
    &lt;/table&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.body"&gt;
    &lt;xsl:param name="Rows" /&gt;
    &lt;xsl:param name="FirstRow" /&gt;
    &lt;xsl:param name="LastRow" /&gt;
    &lt;xsl:for-each select="$Rows"&gt;
      &lt;xsl:if test="position() &amp;gt;= $FirstRow and position() &amp;lt;= $LastRow"&gt;
        &lt;xsl:call-template name="dvt_1.rowview" /&gt;
      &lt;/xsl:if&gt;
    &lt;/xsl:for-each&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.rowview"&gt;
    &lt;tr&gt;
      &lt;td class="ms-vb" width="1"&gt;
        &lt;xsl:choose&gt;
          &lt;xsl:when test="$dvt_1_automode = '1'"&gt;
            &lt;xsl:call-template name="dvt_1.automode"&gt;
              &lt;xsl:with-param name="KeyField"&gt;
              &lt;/xsl:with-param&gt;
              &lt;xsl:with-param name="KeyValue" select="@*[name()=$ColumnKey]" /&gt;
              &lt;xsl:with-param name="Mode"&gt;select&lt;/xsl:with-param&gt;
            &lt;/xsl:call-template&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
            &lt;span ddwrt:amkeyfield="" ddwrt:amkeyvalue="''" ddwrt:ammode="select" /&gt;
          &lt;/xsl:otherwise&gt;
        &lt;/xsl:choose&gt;
      &lt;/td&gt;
$Entityfieldsproperty4$  
    &lt;/tr&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.navigation"&gt;
    &lt;xsl:param name="FirstRow" /&gt;
    &lt;xsl:param name="LastRow" /&gt;
    &lt;xsl:param name="RowLimit" /&gt;
    &lt;xsl:param name="dvt_RowCount" /&gt;
    &lt;xsl:variable name="PrevRow"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$FirstRow - $RowLimit &amp;lt; 1"&gt;1&lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$FirstRow - $RowLimit" /&gt;
        &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:variable name="NextRow"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$LastRow &amp;gt;= $dvt_RowCount"&gt;
          &lt;xsl:value-of select="$FirstRow" /&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$LastRow + 1" /&gt;
        &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;asp:Literal id="PagerControl" runat="server"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$dvt_RowCount = 0"&gt;
          &lt;xsl:value-of select="$dvt_emptytext" /&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:when test="$FirstRow = 1 and $LastRow = $dvt_RowCount"&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:if test="$FirstRow != 1"&gt;
            &lt;a&gt;
              &lt;xsl:attribute name="href"&gt;javascript: &lt;xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$PrevRow,'}'))" /&gt;;&lt;/xsl:attribute&gt;
              &lt;img src="{ddwrt:PagingImageUrl('Previous')}" border="0" alt="{$PreviousLinkText}" /&gt;
            &lt;/a&gt;
            &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
          &lt;/xsl:if&gt;
          &lt;xsl:value-of select="$FirstRow" /&gt; - &lt;xsl:value-of select="$LastRow" /&gt;&lt;xsl:if test="$LastRow != $dvt_RowCount"&gt;&lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;&lt;a&gt;&lt;xsl:attribute name="href"&gt;javascript: &lt;xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$NextRow,'}'))" /&gt;;&lt;/xsl:attribute&gt;&lt;img src="{ddwrt:PagingImageUrl('Next')}" border="0" alt="{$NextLinkText}" /&gt;&lt;/a&gt;&lt;/xsl:if&gt;&lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
      &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
      &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
      &lt;xsl:if test="$IsEditViewVisible"&gt;
        &lt;a href="{$dvt_url}"&gt;
          &lt;xsl:value-of select="$EditViewText" /&gt;
        &lt;/a&gt;
        &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
        &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
      &lt;/xsl:if&gt;
    &lt;/asp:Literal&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.commandheader"&gt;
    &lt;xsl:param name="FirstRow" /&gt;
    &lt;xsl:param name="LastRow" /&gt;
    &lt;xsl:param name="RowLimit" /&gt;
    &lt;xsl:param name="dvt_RowCount" /&gt;
    &lt;div&gt;
      &lt;xsl:call-template name="dvt_1.navigation"&gt;
        &lt;xsl:with-param name="FirstRow" select="$FirstRow" /&gt;
        &lt;xsl:with-param name="LastRow" select="$LastRow" /&gt;
        &lt;xsl:with-param name="RowLimit" select="$RowLimit" /&gt;
        &lt;xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" /&gt;
      &lt;/xsl:call-template&gt;
      &lt;asp:PlaceHolder id="ActionBarTable" runat="server"&gt;
        &lt;table class="ms-menutoolbar" cellpadding="2" cellspacing="0" border="0" width="100%"&gt;
          &lt;tr&gt;
            &lt;td class="ms-toolbar" style="padding-left:3px;text-align:left" nowrap="true"&gt;
              &lt;xsl:value-of select="$ActionsText" /&gt;
            &lt;/td&gt;
            &lt;td class="ms-toolbar" style="padding-right:3px;text-align:right" nowrap="true"&gt;
              &lt;xsl:value-of select="$EditViewText" /&gt;
            &lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
      &lt;/asp:PlaceHolder&gt;
      &lt;asp:PlaceHolder id="SearchTable" runat="server"&gt;
        &lt;table width="100%" style="background-color:#efefd6"&gt;
          &lt;tr class="ms-vb"&gt;
            &lt;td&gt;
              &lt;select&gt;
                &lt;option&gt;
                  &lt;xsl:value-of select="$FilterNameText" /&gt;
                &lt;/option&gt;
              &lt;/select&gt;
            &lt;/td&gt;
            &lt;td&gt;
              &lt;select&gt;
                &lt;option&gt;
                  &lt;xsl:value-of select="$OperatorText" /&gt;
                &lt;/option&gt;
              &lt;/select&gt;
            &lt;/td&gt;
            &lt;td width="100%" nowrap="true"&gt;
              &lt;input class="ms-input" style="width:100%" /&gt;
            &lt;/td&gt;
            &lt;td valign="middle"&gt;
              &lt;a href="#"&gt;
                &lt;xsl:value-of select="$AddText" /&gt;
              &lt;/a&gt;
            &lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
        &lt;table width="100%" style="background-color:#efefd6"&gt;
          &lt;tr&gt;
            &lt;td style="width:16pt;" valign="middle"&gt;
              &lt;xsl:choose&gt;
                &lt;xsl:when test="$IsRTL"&gt;
                  &lt;img src="/_layouts/images/icongo01RTL.gif" border="0" /&gt;
                &lt;/xsl:when&gt;
                &lt;xsl:otherwise&gt;
                  &lt;img src="/_layouts/images/icongo01.gif" border="0" /&gt;
                &lt;/xsl:otherwise&gt;
              &lt;/xsl:choose&gt;
            &lt;/td&gt;
            &lt;td class="ms-vb" valign="middle"&gt;
              &lt;a href="#"&gt;
                &lt;xsl:value-of select="$RetrieveDataText" /&gt;
              &lt;/a&gt;
            &lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
      &lt;/asp:PlaceHolder&gt;
    &lt;/div&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.automode"&gt;
    &lt;xsl:param name="KeyField" /&gt;
    &lt;xsl:param name="KeyValue" /&gt;
    &lt;xsl:param name="Mode" /&gt;
    &lt;table border="0" cellspacing="0" cellpadding="1"&gt;
      &lt;tr&gt;
        &lt;xsl:choose&gt;
          &lt;xsl:when test="$Mode = 'edit'"&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:when test="$Mode = 'insert'"&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb"&gt;
              &lt;a href="#"&gt;
                &lt;xsl:attribute name="onclick"&gt;
                  &lt;xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_1_form_selectkey={',$KeyValue,'}'))" /&gt;; return false;&lt;/xsl:attribute&gt;
                &lt;xsl:choose&gt;
                  &lt;xsl:when test="$dvt_1_form_selectkey = @*[name()=$ColumnKey]"&gt;
                    &lt;img border="0" style="cursor: hand" src="/_layouts/images/rbsel.gif"&gt;
                      &lt;xsl:attribute name="alt"&gt;
                        &lt;xsl:value-of select="$SelectionRadioButtonToolTip" /&gt;
                      &lt;/xsl:attribute&gt;
                    &lt;/img&gt;
                  &lt;/xsl:when&gt;
                  &lt;xsl:otherwise&gt;
                    &lt;img border="0" style="cursor: hand" src="/_layouts/images/rbunsel.gif"&gt;
                      &lt;xsl:attribute name="alt"&gt;
                        &lt;xsl:value-of select="$SelectionRadioButtonToolTip" /&gt;
                      &lt;/xsl:attribute&gt;
                    &lt;/img&gt;
                  &lt;/xsl:otherwise&gt;
                &lt;/xsl:choose&gt;
              &lt;/a&gt;
            &lt;/td&gt;
          &lt;/xsl:otherwise&gt;
        &lt;/xsl:choose&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="formatString"&gt;
    &lt;xsl:param name="stringvalue" /&gt;
    &lt;xsl:param name="separator" /&gt;
    &lt;xsl:variable name="curStr" select="substring-after($stringvalue, $separator)" /&gt;
    &lt;xsl:choose&gt;
      &lt;xsl:when test="contains($curStr, $separator)"&gt;
        &lt;xsl:value-of select="substring-before($stringvalue, $separator)" /&gt;
        &lt;xsl:value-of select="ddwrt:UrlEncode(@*[name()=substring-before($curStr, $separator)])" /&gt;
        &lt;xsl:call-template name="formatString"&gt;
          &lt;xsl:with-param name="stringvalue" select="substring-after($curStr, $separator)" /&gt;
          &lt;xsl:with-param name="separator" select="$separator" /&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:otherwise&gt;
        &lt;xsl:value-of select="$stringvalue" /&gt;
      &lt;/xsl:otherwise&gt;
    &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="OpenActionsMenu"&gt;
    &lt;xsl:param name="method" /&gt;
    &lt;xsl:param name="id" /&gt;
    &lt;xsl:param name="menuText" /&gt;
    &lt;xsl:value-of select="$method" /&gt;
    &lt;xsl:text&gt;('&lt;/xsl:text&gt;
    &lt;xsl:value-of select="$jsMenuLoadingMessage" /&gt;
    &lt;xsl:text&gt;','&lt;/xsl:text&gt;
    &lt;xsl:value-of select="ddwrt:EcmaScriptEncode($menuText)" /&gt;
    &lt;xsl:text&gt;',false,'&lt;/xsl:text&gt;
    &lt;xsl:value-of select="$jsMenuApplication" /&gt;
    &lt;xsl:text&gt;','&lt;/xsl:text&gt;
    &lt;xsl:value-of select="$jsMenuEntityNamespace" /&gt;
    &lt;xsl:text&gt;','&lt;/xsl:text&gt;
    &lt;xsl:value-of select="$jsMenuEntityName" /&gt;
    &lt;xsl:text&gt;','&lt;/xsl:text&gt;
    &lt;xsl:value-of select="ddwrt:EcmaScriptEncode($id)" /&gt;
    &lt;xsl:text&gt;', event);&lt;/xsl:text&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="_trimLF"&gt;
    &lt;xsl:param name="input" /&gt;
    &lt;xsl:choose&gt;
      &lt;xsl:when test="starts-with($input, '&amp;#xA;')"&gt;
        &lt;xsl:call-template name="_trimLF"&gt;
          &lt;xsl:with-param name="input" select="substring($input, 2)" /&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:when test="substring($input, string-length($input), 1) = '&amp;#xA;'"&gt;
        &lt;xsl:call-template name="_trimLF"&gt;
          &lt;xsl:with-param name="input" select="substring($input, 1, string-length($input)-1)" /&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:otherwise&gt;
        &lt;xsl:value-of select="$input" /&gt;
      &lt;/xsl:otherwise&gt;
    &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="_LFtoBRloop"&gt;
    &lt;xsl:param name="input" /&gt;
    &lt;xsl:variable name="beforeText" select="substring-before($input, '&amp;#xA;')" /&gt;
    &lt;xsl:choose&gt;
      &lt;xsl:when test="string-length($beforeText) = 0 and substring($input, 1, 1) != '&amp;#xA;'"&gt;
        &lt;xsl:value-of select="$input" /&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:otherwise&gt;
        &lt;xsl:value-of select="$beforeText" /&gt;
        &lt;br /&gt;
        &lt;xsl:call-template name="_LFtoBRloop"&gt;
          &lt;xsl:with-param name="input" select="substring($input, string-length($beforeText)+2)" /&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:otherwise&gt;
    &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="LFtoBR"&gt;
    &lt;xsl:param name="input" /&gt;
    &lt;xsl:choose&gt;
      &lt;xsl:when test="substring-before($input, '&amp;#xA;') = ''"&gt;
        &lt;xsl:value-of select="$input" /&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:otherwise&gt;
        &lt;xsl:call-template name="_LFtoBRloop"&gt;
          &lt;xsl:with-param name="input"&gt;
            &lt;xsl:call-template name="_trimLF"&gt;
              &lt;xsl:with-param name="input" select="translate($input, '&amp;#xD;', '')" /&gt;
            &lt;/xsl:call-template&gt;
          &lt;/xsl:with-param&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:otherwise&gt;
    &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;</property>
        <property name="ChromeState" type="chromestate">Normal</property>
        <property name="CatalogIconImageUrl" type="string" />
        <property name="HelpMode" type="helpmode">Modeless</property>
        <property name="TitleIconImageUrl" type="string" />
        <property name="PageSize" type="int">-1</property>
        <property name="Width" type="string" />
        <property name="UseSQLDataSourcePaging" type="bool">True</property>
        <property name="Title" type="string">$EntityNameproperty$ List</property>
        <property name="PageType" type="Microsoft.SharePoint.PAGETYPE, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">PAGE_NORMALVIEW</property>
        <property name="DataSourcesString" type="string">&lt;%@ Register TagPrefix="cc1" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;&lt;cc1:BdcDataSource runat="server" UpdateCommand="" ShowSampleData="False" Mode="AssociationList" EntityName="$EntityNameproperty$" Enabled="True" EntityId="0" EntityNamespace="$EntityNameSpaceproperty$" LobSystemInstanceName="$LobSystempInstanceroperty$" InsertCommand="" DeleteCommand="" SelectCommand=""&gt;&lt;/cc1:BdcDataSource&gt;
</property>
        <property name="InitialAsyncDataFetch" type="bool">False</property>
        <property name="MissingAssembly" type="string">"Missing assembly"</property>
        <property name="ShouldDisplayAnimation" type="bool">False</property>
        <property name="CacheXslStorage" type="bool">True</property>
        <property name="DisplayName" type="string" />
        <property name="XslLink" type="string" null="true" />
        <property name="AssociationName" type="string" />
        <property name="AllowClose" type="bool">True</property>
        <property name="XmlDefinition" type="string" />
        <property name="SerializedVersion" type="int">1</property>
        <property name="ParameterBindings" type="string">&lt;ParameterBinding Name="dvt_fieldsort" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_sorttype" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_filterfield" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_filterval" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_filtertype" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_nextpagedata" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_apos" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="filterParam" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_1_form_selectkey" Location="Postback;Connection"/&gt;</property>
        <property name="AutoRefresh" type="bool">False</property>
        <property name="AutoRefreshInterval" type="int">60</property>
        <property name="AsyncRefresh" type="bool">False</property>
        <property name="DataFields" type="string" />
        <property name="ListDisplayName" type="string" null="true" />
        <property name="XmlDefinitionLink" type="string" />
        <property name="CacheXslTimeOut" type="int">86400</property>
      </properties>
    </data>
  </webPart>
</webParts>

                ]]>
      </AllUsersWebPart>
__END123xyz
BusinessDataActions
__BEGIN123xyz
<AllUsersWebPart ID="$WebPartName$" WebPartZoneID="$Zone$" WebPartOrder="$WebPartOrder$">
  <![CDATA[


<WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Title>Related Links -- $EntityNameproperty$</Title>
    <Assembly>Microsoft.Sharepoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
    <TypeName>Microsoft.SharePoint.Portal.WebControls.BusinessDataActionsWebPart</TypeName>
    <LobSystemInstanceName xmlns="urn:schemas-microsoft-com:BusinessDataActionsWebPart">$LobSystempInstanceroperty$</LobSystemInstanceName>
    <EntityName xmlns="urn:schemas-microsoft-com:BusinessDataActionsWebPart">$EntityNameproperty$</EntityName>
    <EntityNamespace xmlns="urn:schemas-microsoft-com:BusinessDataActionsWebPart">$EntityNameSpaceproperty$</EntityNamespace>
    <ShouldDisplayAnimation xmlns="urn:schemas-microsoft-com:BusinessDataActionsWebPart">false</ShouldDisplayAnimation>
    <SelectedActions xmlns="urn:schemas-microsoft-com:BusinessDataActionsWebPart" />
	<DeselectedActions xmlns="urn:schemas-microsoft-com:BusinessDataActionsWebPart" />
	<DisplayNewActions xmlns="urn:schemas-microsoft-com:BusinessDataActionsWebPart">true</DisplayNewActions>
    <HasParameterizedActions xmlns="urn:schemas-microsoft-com:BusinessDataActionsWebPart">true</HasParameterizedActions>
</WebPart>

              ]]>
      </AllUsersWebPart>
__END123xyz
SharetheInstanceSiteLink
__BEGIN123xyz
<AllUsersWebPart ID="$WebPartName$" WebPartZoneID="$Zone$" WebPartOrder="$WebPartOrder$">
  <![CDATA[

<webParts>
    <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
      <metaData>
        <type name="Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsWebPart,Microsoft.SharePoint.Portal,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" />
        <importErrorMessage>"Unabel to import webpart"</importErrorMessage>
      </metaData>
      <data>
        <properties>
          <property name="Title" type="string">Sharethislink</property>
          <property name="LobSystemInstanceName" type="string">$LobSystempInstanceroperty$</property>
		  <property name="EntityName" type="string">$EntityNameproperty$</property>
          <property name="EntityNamespace" type="string">$EntityNameSpaceproperty$</property><property name="ShouldDisplayAnimation" type="bool">False</property>
          <property name="ChromeType" type="chrometype">None</property>
		<property name="Xsl" type="string">&lt;xsl:stylesheet version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20"
                  xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.Sharepoint.WebControls"&gt;
                  &lt;xsl:output method="html" indent="no" /&gt;

                  &lt;xsl:template match="/dsQueryResponse/NewDataSet/Row"&gt;
                  &lt;xsl:call-template name="OBAMailCollabSite_action" /&gt;
                  &lt;/xsl:template&gt;

                  &lt;xsl:template name="OBAMailCollabSite_action"&gt;
                  &lt;xsl:variable name="ItemId" select="@BdcIdentity"/&gt;
                    &lt;div id="05C5FF1A-DF91-47ce-A71D-E2D64B36794F"&gt;
                  &lt;table border="0" width="100%"&gt;
                  &lt;tr valign="middle"&gt;
                  &lt;td &gt;
            	  &lt;a href='javascript:OBAMailCollabSite("{$ItemId}", "$EntityNameproperty$", "$EntityNameSpaceproperty$", "$LobSystempInstanceroperty$");'&gt;
	              &lt;img src="/_layouts/images/ShareWorkspace.png" border="0" align="middle"/&gt;Share this Instance site Link to others&lt;/a&gt;
	              &lt;/td&gt;
	              &lt;/tr&gt;
                  &lt;/table&gt;
                  &lt;/div&gt;
                  &lt;script&gt;OBALocalizeElement("05C5FF1A-DF91-47ce-A71D-E2D64B36794F")&lt;/script&gt;
                  &lt;/xsl:template&gt;

                  &lt;/xsl:stylesheet&gt;
              </property>
        <property name="SelectedActions" type="System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">&lt;?xml version="1.0"?&gt;
                    &lt;ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
                    &lt;/ArrayOfString&gt;
                </property>
        <property name="DeselectedActions" type="System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">&lt;?xml version="1.0" encoding="utf-16"?&gt;
            &lt;ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
            &lt;string&gt;Open Workspace&lt;/string&gt;
            &lt;/ArrayOfString&gt;
        </property>
        <property name="DisplayNewActions" type="bool">False</property>
      </properties>
      </data>
    </webPart>
</webParts>

          ]]>
</AllUsersWebPart>
__END123xyz
RelatedDocumentAction
__BEGIN123xyz
<AllUsersWebPart ID="$WebPartName$" WebPartZoneID="$Zone$" WebPartOrder="$WebPartOrder$">
  <![CDATA[
          <webParts>
                    <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
                      <metaData>
                        <type name="Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsWebPart,Microsoft.SharePoint.Portal,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" />
                        <importErrorMessage>$Resources:OBAProductCenter,WPImportErrorMessage;</importErrorMessage>
                      </metaData>
                      <data>
                        <properties>
                          <property name="ChromeType" type="chrometype">None</property>
                          <property name="LobSystemInstanceName" type="string">$LobSystempInstanceroperty$</property>
                          <property name="Title" type="string">Related Doc Actions</property>
                          <property name="Description" type="string">Related Doc Actions</property>
                          <property name="EntityName" type="string">$EntityNameproperty$</property>
                          <property name="EntityNamespace" type="string">$EntityNameSpaceproperty$</property>
                          <property name="Xsl" type="string">&lt;xsl:stylesheet version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.Sharepoint.WebControls"&gt;
                    &lt;xsl:output method="html" indent="no" /&gt;

                          &lt;xsl:template match="/dsQueryResponse/Rows"&gt;
                    &lt;xsl:call-template name="RelatedDocsAction_static" /&gt;
                    &lt;/xsl:template&gt;

                    &lt;xsl:template match="/dsQueryResponse/NewDataSet/Row"&gt;
                    &lt;xsl:call-template name="RelatedDocsAction_instance" /&gt;
                    &lt;/xsl:template&gt;

                    &lt;xsl:template name="RelatedDocsAction_static"&gt;
                    &lt;div id="D3E0B056-94AF-4ef5-8862-44B054802E8A"&gt;
                    &lt;table border="0" width="100%"&gt;
                    &lt;tr valign="middle"&gt;
                    &lt;td &gt;
                    &lt;a href="javascript:OBAUploadNewRelatedDoc('$EntityNameproperty$', '$EntityNameSpaceproperty$', '$LobSystempInstanceroperty$', 'CreateDocument');"&gt;
                    &lt;img src="/_layouts/images/UploadDocHS.png" border="0" align="middle"/&gt;
                    Upload Document
                    &lt;/a&gt;
                    &lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;/table&gt;
                    &lt;/div&gt;
                    &lt;script&gt;OBALocalizeElement("D3E0B056-94AF-4ef5-8862-44B054802E8A")&lt;/script&gt;
                    &lt;/xsl:template&gt;

                    &lt;xsl:template name="RelatedDocsAction_instance"&gt;
                    &lt;xsl:variable name="ItemID" select="@BdcIdentity"/&gt;
                    &lt;div id="F0A56701-01EA-4e19-AF65-A968DA3A556A"&gt;
                    &lt;table border="0" width="100%"&gt;
                    &lt;tr valign="middle"&gt;
                    &lt;td &gt;
                    &lt;a href="javascript:OBAUploadNewRelatedDoc('$EntityNameproperty$', '$EntityNameSpaceproperty$', '$LobSystempInstanceroperty$', 'CreateDocument');"&gt;
                    &lt;img src="/_layouts/images/UploadDocHS.png" border="0" align="middle"/&gt;
                    Upload Document
                    &lt;/a&gt;
                    &lt;/td&gt;
                    &lt;td &gt;
                    &lt;a href="javascript:OBADownloadRelatedDoc( '{$ItemID}', '$EntityNameproperty$', '$EntityNameSpaceproperty$', '$LobSystempInstanceroperty$', '$DownloadMethodproperty$');"&gt;
                    &lt;img src="/_layouts/images/DownloadDocHS.png" border="0" align="middle"/&gt;
                    Download Document
                    &lt;/a&gt;
                    &lt;/td&gt;
                    &lt;td &gt;
                    &lt;a href="javascript:OBADeleteRelatedDoc( '{$ItemID}', '$EntityNameproperty$', '$EntityNameSpaceproperty$', '$LobSystempInstanceroperty$');"&gt;
                    &lt;img src="/_layouts/images/DeleteDocHS.png" border="0" align="middle"/&gt;
                    Delete Document
                    &lt;/a&gt;
                    &lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;/table&gt;
                    &lt;/div&gt;
                    &lt;script&gt;OBALocalizeElement("F0A56701-01EA-4e19-AF65-A968DA3A556A")&lt;/script&gt;
                    &lt;/xsl:template&gt;

                    &lt;/xsl:stylesheet&gt;
                </property>                
            </properties>
        </data>
    </webPart>
</webParts>       
                ]]>  
      </AllUsersWebPart>
__END123xyz
RelatedDocumentAction2
__BEGIN123xyz
<AllUsersWebPart ID="$WebPartName$Upload" WebPartOrder="$WebPartOrder1$" WebPartZoneID="$Zone$">
  <![CDATA[

<webParts>
    <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
        <metaData>
            <type name="Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsWebPart,Microsoft.SharePoint.Portal,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" />
            <importErrorMessage>Unable to import webpart</importErrorMessage>
        </metaData>
        <data>
            <properties>
                <property name="Title" type="string">Upload Action</property>
                <property name="Description" type="string">Upload Action webpart</property>
                <property name="ChromeType" type="chrometype">None</property>
                <property name="ShouldDisplayAnimation" type="bool">False</property>
		<property name="DisplayNewActions" type="bool">False</property>
                <property name="LobSystemInstanceName" type="string">$LobSystempInstanceroperty1$</property>
                <property name="EntityName" type="string">$EntityNameproperty1$</property>
                <property name="EntityNamespace" type="string">$EntityNameSpaceproperty1$</property>
		<!-- Display Upload for selected row -->
		<property name="Xsl" type="string">&lt;xsl:stylesheet version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.Sharepoint.WebControls"&gt;
&lt;xsl:output method="html" indent="no" /&gt;
&lt;xsl:template match="/dsQueryResponse/NewDataSet/Row"&gt;
&lt;xsl:call-template name="RelatedDocUpload_instance" /&gt;
&lt;/xsl:template&gt;

&lt;xsl:template name="RelatedDocUpload_instance"&gt;
&lt;xsl:variable name="ItemID" select="@BdcIdentity"/&gt;

&lt;div id="C051469E-2B70-463C-BBFE-3B8CF008561D"&gt;
&lt;table border="0" width="100%"&gt;
&lt;tr valign="middle"&gt;
&lt;td&gt;
&lt;a href="javascript:OBAUploadNewRelatedDoc( '$EntityNameproperty$', '$EntityNameSpaceproperty$', '$LobSystempInstanceroperty$', 'CreateDocument', '$EntityNameSpaceproperty1$', '$EntityNameproperty1$', '{$ItemID}', '$LobSystempInstanceroperty1$');"&gt;
&lt;img src="/_layouts/images/UploadDocHS.png" border="0" align="middle"/&gt;
Upload Document
&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;script&gt;OBALocalizeElement("C051469E-2B70-463C-BBFE-3B8CF008561D")&lt;/script&gt;

&lt;/xsl:template&gt;

&lt;/xsl:stylesheet&gt;</property>
            </properties>
        </data>
    </webPart>
</webParts>

        ]]>
</AllUsersWebPart>
<AllUsersWebPart ID="$WebPartName$" WebPartZoneID="$Zone$" WebPartOrder="$WebPartOrder2$">
  <![CDATA[

<webParts>
    <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
        <metaData>
            <type name="Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsWebPart,Microsoft.SharePoint.Portal,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" />
            <importErrorMessage>"Unanble to import webaprt"</importErrorMessage>
        </metaData>
        <data>
            <properties>
                <property name="Title" type="string">Related Doc Actions</property>
                <property name="Description" type="string">Related Doc Actions Description</property>
                <property name="ChromeType" type="chrometype">None</property>
                <property name="ShouldDisplayAnimation" type="bool">False</property>
		<property name="DisplayNewActions" type="bool">False</property>
                <property name="LobSystemInstanceName" type="string">$LobSystempInstanceroperty$</property>
                <property name="EntityName" type="string">$EntityNameproperty$</property>
                <property name="EntityNamespace" type="string">$EntityNameSpaceproperty$</property>
                <property name="Xsl" type="string">&lt;xsl:stylesheet version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.Sharepoint.WebControls"&gt;
                    &lt;xsl:output method="html" indent="no" /&gt;

                 
                    &lt;xsl:template match="/dsQueryResponse/NewDataSet/Row"&gt;
                    &lt;xsl:call-template name="RelatedDocsAction_instance" /&gt;
                    &lt;/xsl:template&gt;
                  
                    &lt;xsl:template name="RelatedDocsAction_instance"&gt;
                    &lt;xsl:variable name="ItemID" select="@BdcIdentity"/&gt;
                    &lt;div id="58925138-D962-4d25-B65D-9C80E1DABE2A"&gt;
                    &lt;table border="0" width="100%"&gt;
                    &lt;tr valign="middle"&gt;                   
                    &lt;td &gt;
                    &lt;a href="javascript:OBADownloadRelatedDoc( '{$ItemID}', '$EntityNameproperty$', '$EntityNameSpaceproperty$', '$LobSystempInstanceroperty$', '$DownloadMethodproperty$');"&gt;
                    &lt;img src="/_layouts/images/DownloadDocHS.png" border="0" align="middle"/&gt;
                    Download Document;
                    &lt;/a&gt;
                    &lt;/td&gt;
                    &lt;td &gt;
                    &lt;a href="javascript:OBADeleteRelatedDoc( '{$ItemID}', '$EntityNameproperty$', '$EntityNameSpaceproperty$', '$LobSystempInstanceroperty$');"&gt;
                    &lt;img src="/_layouts/images/DeleteDocHS.png" border="0" align="middle"/&gt;
                    Delete Document;
                    &lt;/a&gt;
                    &lt;/td&gt;
                    &lt;/tr&gt;
                    &lt;/table&gt;
                    &lt;/div&gt;
                    &lt;script&gt;TangoLocalizeElement("58925138-D962-4d25-B65D-9C80E1DABE2A")&lt;/script&gt;
                    &lt;/xsl:template&gt;

                    &lt;/xsl:stylesheet&gt;
                </property>                
            </properties>
        </data>
    </webPart>
</webParts>

                ]]>
</AllUsersWebPart>
__END123xyz
BusinessDataList
__BEGIN123xyz
<AllUsersWebPart ID="$WebPartName$" WebPartZoneID="$Zone$" WebPartOrder="$WebPartOrder$">
  <![CDATA[

<webParts>
  <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
    <metaData>
      <type name="Microsoft.SharePoint.Portal.WebControls.BusinessDataAssociationWebPart, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <importErrorMessage>Unable to import webpart</importErrorMessage>
    </metaData>
    <data>
      <properties>
        <property name="ChromeType" type="chrometype">Default</property>
        <property name="ShowWithSampleData" type="bool">False</property>
        <property name="FinderName" type="string" null="true" />
        <property name="Default" type="string" />
        <property name="NoDefaultStyle" type="string">TRUE</property>
        <property name="EntityName" type="string">$EntityNameproperty$</property>
        <property name="LobSystemInstanceName" type="string">$LobSystempInstanceroperty$</property>
        <property name="ViewContentTypeId" type="string" />
        <property name="EntityId" type="System.Int64, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">10618</property>
        <property name="ManualRefresh" type="bool">False</property>
        <property name="ListUrl" type="string" null="true" />
        <property name="Height" type="string" />
        <property name="TitleUrl" type="string" />
        <property name="SampleData" type="string" null="true" />
        <property name="Hidden" type="bool">False</property>
        <property name="ViewFlags" type="Microsoft.SharePoint.SPViewFlags, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">None</property>
        <property name="AllowConnect" type="bool">True</property>
        <property name="ListId" type="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">00000000-0000-0000-0000-000000000000</property>
        <property name="HelpUrl" type="string" />
        <property name="Direction" type="direction">NotSet</property>
        <property name="DataSourceID" type="string" />
        <property name="ListName" type="string" null="true" />
        <property name="AllowZoneChange" type="bool">True</property>
        <property name="ShouldDisplayToolBar" type="bool">True</property>  
        <property name="ViewFlag" type="string">0</property>
        <property name="AllowHide" type="bool">True</property>
        <property name="ExportMode" type="exportmode">All</property>
        <property name="View" type="Microsoft.SharePoint.Portal.WebControls.View, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;View xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;Name /&gt;
  &lt;AllowUserQueries&gt;false&lt;/AllowUserQueries&gt;
  &lt;SortExpression /&gt;
  &lt;MaxItemsInPage&gt;20&lt;/MaxItemsInPage&gt;
  &lt;MaxItems&gt;0&lt;/MaxItems&gt;
  &lt;Fields&gt;
$Entityfieldsproperty1$   
  &lt;/Fields&gt;
  &lt;FilterValues /&gt;
  &lt;QueryValues /&gt;
  &lt;TitleField /&gt;
  &lt;AllowPaging&gt;true&lt;/AllowPaging&gt;
  &lt;AllowItemLimiting&gt;false&lt;/AllowItemLimiting&gt;
  &lt;RetrieveAllItems&gt;true&lt;/RetrieveAllItems&gt;
  &lt;DisplayStreamableFields&gt;true&lt;/DisplayStreamableFields&gt;
&lt;/View&gt;</property>
        <property name="AllowEdit" type="bool">True</property>
        <property name="Description" type="string">Related Items</property>
        <property name="AllowMinimize" type="bool">True</property>
        <property name="EntityNamespace" type="string">$EntityNameSpaceproperty$</property>
        <property name="ShouldDisplayStreamData" type="bool">True</property>
        <property name="Xsl" type="string">&lt;xsl:stylesheet version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.Sharepoint.WebControls"&gt;
  &lt;xsl:output method="html" indent="no" /&gt;
  &lt;xsl:param name="PreviousLinkText"&gt;Previous&lt;/xsl:param&gt;
  &lt;xsl:param name="NextLinkText"&gt;Next&lt;/xsl:param&gt;
  &lt;xsl:param name="EditViewText"&gt;Edit View&lt;/xsl:param&gt;
  &lt;xsl:param name="AscendingText"&gt;Ascending&lt;/xsl:param&gt;
  &lt;xsl:param name="DescendingText"&gt;Descending&lt;/xsl:param&gt;
  &lt;xsl:param name="RetrieveDataText"&gt;Retrieve Data&lt;/xsl:param&gt;
  &lt;xsl:param name="ActionsText"&gt;Actions&lt;/xsl:param&gt;
  &lt;xsl:param name="FilterNameText"&gt;Filter name&lt;/xsl:param&gt;
  &lt;xsl:param name="OperatorText"&gt;Operator&lt;/xsl:param&gt;
  &lt;xsl:param name="AddText"&gt;Add&lt;/xsl:param&gt;
  &lt;xsl:param name="CurrentLCID"&gt;1033&lt;/xsl:param&gt;
  &lt;xsl:param name="OpenMenuToolTip"&gt;Open Menu&lt;/xsl:param&gt;
  &lt;xsl:param name="DataTableSummary"&gt;Entity Summary&lt;/xsl:param&gt;
  &lt;xsl:param name="SelectionRadioButtonToolTip"&gt;Pick Item&lt;/xsl:param&gt;
  &lt;xsl:param name="DownloadStreamText"&gt;Click here to download&lt;/xsl:param&gt;
  &lt;xsl:param name="IsRTL"&gt;
  &lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_apos"&gt;'&lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_adhocmode"&gt;sort&lt;/xsl:param&gt;
  &lt;xsl:param name="ClickThroughUrl" /&gt;
  &lt;xsl:param name="DownloadExternalDataUrl" /&gt;
  &lt;xsl:param name="dvt_url" /&gt;
  &lt;xsl:param name="jsMenuApplication" /&gt;
  &lt;xsl:param name="jsMenuEntityNamespace" /&gt;
  &lt;xsl:param name="jsMenuEntityName" /&gt;
  &lt;xsl:param name="jsMenuLoadingMessage" /&gt;
  &lt;xsl:param name="dvt_1_automode"&gt;0&lt;/xsl:param&gt;
  &lt;xsl:param name="filterParam" /&gt;
  &lt;xsl:param name="dvt_firstrow"&gt;1&lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_nextpagedata" /&gt;
  &lt;xsl:param name="IsMenuVisible" /&gt;
  &lt;xsl:param name="IsEditViewVisible" /&gt;
  &lt;xsl:param name="dvt_partguid" /&gt;
  &lt;xsl:param name="ColumnKey"&gt;Kunnr&lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_1_form_selectkey" /&gt;
  &lt;xsl:param name="dvt_sortdir"&gt;ascending&lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_sortfield" /&gt;
  &lt;xsl:param name="dvt_emptytext"&gt;
  &lt;/xsl:param&gt;
  &lt;xsl:param name="dvt_filterfields" /&gt;
$Entityfieldsproperty2$   
  &lt;xsl:template name="dvt.headerfield"&gt;
    &lt;xsl:param name="fieldname" /&gt;
    &lt;xsl:param name="fieldtitle" /&gt;
    &lt;xsl:param name="displayname" /&gt;
    &lt;xsl:param name="fieldtype"&gt;0&lt;/xsl:param&gt;
    &lt;xsl:variable name="sortfield"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="substring($fieldname, 1, 1) = '@'"&gt;
          &lt;xsl:value-of select="substring($fieldname, 2)" /&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$fieldname" /&gt;
        &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:variable name="linkdir"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$dvt_sortfield = $sortfield and $dvt_sortdir = 'ascending'"&gt;descending&lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;ascending&lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:variable name="sortText"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$linkdir='descending'"&gt;' + 'descending' + '&lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;' + 'ascending' + '&lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:variable name="separator" select="' '" /&gt;
    &lt;xsl:variable name="connector" select="';'" /&gt;
    &lt;xsl:variable name="filterString" select="concat($displayname,$separator,$fieldname,$separator,$fieldtype,$connector,$CurrentLCID,$separator,$dvt_partguid)" /&gt;
    &lt;table CtxNum="1" cellspacing="0" class="ms-unselectedtitle"&gt;
      &lt;xsl:if test="$fieldname"&gt;
        &lt;xsl:attribute name="onmouseover"&gt;OnMouseOverAdHocFilter(this, '&lt;xsl:value-of select="$filterString" /&gt;')&lt;/xsl:attribute&gt;
      &lt;/xsl:if&gt;
      &lt;tr&gt;
        &lt;td width="100%" class="ms-vb" nowrap=""&gt;
          &lt;xsl:choose&gt;
            &lt;xsl:when test="$fieldname"&gt;
              &lt;a&gt;
                &lt;xsl:attribute name="href"&gt;javascript: &lt;xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_sortfield={',$sortfield,'};dvt_sortdir={',$sortText,'}'))" /&gt;;&lt;/xsl:attribute&gt;
                &lt;xsl:value-of select="$fieldtitle" /&gt;
                &lt;xsl:if test="$dvt_sortfield = $sortfield"&gt;
                  &lt;xsl:choose&gt;
                    &lt;xsl:when test="$dvt_sortdir = 'ascending'"&gt;
                      &lt;img border="0" alt="{$AscendingText}" src="{ddwrt:FieldSortImageUrl('Desc')}" /&gt;
                    &lt;/xsl:when&gt;
                    &lt;xsl:when test="$dvt_sortdir = 'descending'"&gt;
                      &lt;img border="0" alt="{$DescendingText}" src="{ddwrt:FieldSortImageUrl('Asc')}" /&gt;
                    &lt;/xsl:when&gt;
                  &lt;/xsl:choose&gt;
                &lt;/xsl:if&gt;
              &lt;/a&gt;
              &lt;xsl:if test="contains($dvt_filterfields, concat($fieldname, ';' ))"&gt;
                &lt;img src="/_layouts/images/filter.gif" border="0" alt="" /&gt;
              &lt;/xsl:if&gt;
            &lt;/xsl:when&gt;
            &lt;xsl:otherwise&gt;
              &lt;xsl:value-of select="$fieldtitle" /&gt;
            &lt;/xsl:otherwise&gt;
          &lt;/xsl:choose&gt;
        &lt;/td&gt;
        &lt;td&gt;
          &lt;img src="/_layouts/images/blank.gif" width="13" style="visibility: hidden" alt="" /&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template match="/"&gt;
    &lt;xsl:call-template name="dvt_1" /&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1"&gt;
    &lt;xsl:variable name="dvt_StyleName"&gt;Table&lt;/xsl:variable&gt;
    &lt;xsl:variable name="Rows" select="/dsQueryResponse/NewDataSet/Row" /&gt;
    &lt;xsl:variable name="dvt_RowCount" select="count($Rows)" /&gt;
    &lt;xsl:variable name="RowLimit" select="20" /&gt;
    &lt;xsl:variable name="FirstRow" select="$dvt_firstrow" /&gt;
    &lt;xsl:variable name="LastRow"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="($FirstRow + $RowLimit - 1) &amp;gt; $dvt_RowCount"&gt;
          &lt;xsl:value-of select="$dvt_RowCount" /&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$FirstRow + $RowLimit - 1" /&gt;
        &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:call-template name="dvt_1.commandheader"&gt;
      &lt;xsl:with-param name="FirstRow" select="$FirstRow" /&gt;
      &lt;xsl:with-param name="LastRow" select="$LastRow" /&gt;
      &lt;xsl:with-param name="RowLimit" select="$RowLimit" /&gt;
      &lt;xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" /&gt;
    &lt;/xsl:call-template&gt;
    &lt;table id="BdwpRows" border="0" width="100%" cellpadding="2" cellspacing="0"&gt;
      &lt;xsl:attribute name="summary"&gt;
        &lt;xsl:value-of select="$DataTableSummary" /&gt;
      &lt;/xsl:attribute&gt;
      &lt;tr valign="top"&gt;
        &lt;th class="ms-vh" width="1" /&gt;
$Entityfieldsproperty3$   
      &lt;/tr&gt;
      &lt;xsl:call-template name="dvt_1.body"&gt;
        &lt;xsl:with-param name="Rows" select="$Rows" /&gt;
        &lt;xsl:with-param name="FirstRow" select="$dvt_firstrow" /&gt;
        &lt;xsl:with-param name="LastRow" select="$LastRow" /&gt;
      &lt;/xsl:call-template&gt;
    &lt;/table&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.body"&gt;
    &lt;xsl:param name="Rows" /&gt;
    &lt;xsl:param name="FirstRow" /&gt;
    &lt;xsl:param name="LastRow" /&gt;
    &lt;xsl:for-each select="$Rows"&gt;
      &lt;xsl:if test="position() &amp;gt;= $FirstRow and position() &amp;lt;= $LastRow"&gt;
        &lt;xsl:call-template name="dvt_1.rowview" /&gt;
      &lt;/xsl:if&gt;
    &lt;/xsl:for-each&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.rowview"&gt;
    &lt;tr&gt;
      &lt;td class="ms-vb" width="1"&gt;
        &lt;xsl:choose&gt;
          &lt;xsl:when test="$dvt_1_automode = '1'"&gt;
            &lt;xsl:call-template name="dvt_1.automode"&gt;
              &lt;xsl:with-param name="KeyField"&gt;
              &lt;/xsl:with-param&gt;
              &lt;xsl:with-param name="KeyValue" select="@*[name()=$ColumnKey]" /&gt;
              &lt;xsl:with-param name="Mode"&gt;select&lt;/xsl:with-param&gt;
            &lt;/xsl:call-template&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
            &lt;span ddwrt:amkeyfield="" ddwrt:amkeyvalue="''" ddwrt:ammode="select" /&gt;
          &lt;/xsl:otherwise&gt;
        &lt;/xsl:choose&gt;
      &lt;/td&gt;
$Entityfieldsproperty4$  
    &lt;/tr&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.navigation"&gt;
    &lt;xsl:param name="FirstRow" /&gt;
    &lt;xsl:param name="LastRow" /&gt;
    &lt;xsl:param name="RowLimit" /&gt;
    &lt;xsl:param name="dvt_RowCount" /&gt;
    &lt;xsl:variable name="PrevRow"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$FirstRow - $RowLimit &amp;lt; 1"&gt;1&lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$FirstRow - $RowLimit" /&gt;
        &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;xsl:variable name="NextRow"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$LastRow &amp;gt;= $dvt_RowCount"&gt;
          &lt;xsl:value-of select="$FirstRow" /&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select="$LastRow + 1" /&gt;
        &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
    &lt;/xsl:variable&gt;
    &lt;asp:Literal id="PagerControl" runat="server"&gt;
      &lt;xsl:choose&gt;
        &lt;xsl:when test="$dvt_RowCount = 0"&gt;
          &lt;xsl:value-of select="$dvt_emptytext" /&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:when test="$FirstRow = 1 and $LastRow = $dvt_RowCount"&gt;
        &lt;/xsl:when&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:if test="$FirstRow != 1"&gt;
            &lt;a&gt;
              &lt;xsl:attribute name="href"&gt;javascript: &lt;xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$PrevRow,'}'))" /&gt;;&lt;/xsl:attribute&gt;
              &lt;img src="{ddwrt:PagingImageUrl('Previous')}" border="0" alt="{$PreviousLinkText}" /&gt;
            &lt;/a&gt;
            &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
          &lt;/xsl:if&gt;
          &lt;xsl:value-of select="$FirstRow" /&gt; - &lt;xsl:value-of select="$LastRow" /&gt;&lt;xsl:if test="$LastRow != $dvt_RowCount"&gt;&lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;&lt;a&gt;&lt;xsl:attribute name="href"&gt;javascript: &lt;xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$NextRow,'}'))" /&gt;;&lt;/xsl:attribute&gt;&lt;img src="{ddwrt:PagingImageUrl('Next')}" border="0" alt="{$NextLinkText}" /&gt;&lt;/a&gt;&lt;/xsl:if&gt;&lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
      &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
      &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
      &lt;xsl:if test="$IsEditViewVisible"&gt;
        &lt;a href="{$dvt_url}"&gt;
          &lt;xsl:value-of select="$EditViewText" /&gt;
        &lt;/a&gt;
        &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
        &lt;xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes"&gt;&amp;amp;nbsp;&lt;/xsl:text&gt;
      &lt;/xsl:if&gt;
    &lt;/asp:Literal&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.commandheader"&gt;
    &lt;xsl:param name="FirstRow" /&gt;
    &lt;xsl:param name="LastRow" /&gt;
    &lt;xsl:param name="RowLimit" /&gt;
    &lt;xsl:param name="dvt_RowCount" /&gt;
    &lt;div&gt;
      &lt;xsl:call-template name="dvt_1.navigation"&gt;
        &lt;xsl:with-param name="FirstRow" select="$FirstRow" /&gt;
        &lt;xsl:with-param name="LastRow" select="$LastRow" /&gt;
        &lt;xsl:with-param name="RowLimit" select="$RowLimit" /&gt;
        &lt;xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" /&gt;
      &lt;/xsl:call-template&gt;
      &lt;asp:PlaceHolder id="ActionBarTable" runat="server"&gt;
        &lt;table class="ms-menutoolbar" cellpadding="2" cellspacing="0" border="0" width="100%"&gt;
          &lt;tr&gt;
            &lt;td class="ms-toolbar" style="padding-left:3px;text-align:left" nowrap="true"&gt;
              &lt;xsl:value-of select="$ActionsText" /&gt;
            &lt;/td&gt;
            &lt;td class="ms-toolbar" style="padding-right:3px;text-align:right" nowrap="true"&gt;
              &lt;xsl:value-of select="$EditViewText" /&gt;
            &lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
      &lt;/asp:PlaceHolder&gt;
      &lt;asp:PlaceHolder id="SearchTable" runat="server"&gt;
        &lt;table width="100%" style="background-color:#efefd6"&gt;
          &lt;tr class="ms-vb"&gt;
            &lt;td&gt;
              &lt;select&gt;
                &lt;option&gt;
                  &lt;xsl:value-of select="$FilterNameText" /&gt;
                &lt;/option&gt;
              &lt;/select&gt;
            &lt;/td&gt;
            &lt;td&gt;
              &lt;select&gt;
                &lt;option&gt;
                  &lt;xsl:value-of select="$OperatorText" /&gt;
                &lt;/option&gt;
              &lt;/select&gt;
            &lt;/td&gt;
            &lt;td width="100%" nowrap="true"&gt;
              &lt;input class="ms-input" style="width:100%" /&gt;
            &lt;/td&gt;
            &lt;td valign="middle"&gt;
              &lt;a href="#"&gt;
                &lt;xsl:value-of select="$AddText" /&gt;
              &lt;/a&gt;
            &lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
        &lt;table width="100%" style="background-color:#efefd6"&gt;
          &lt;tr&gt;
            &lt;td style="width:16pt;" valign="middle"&gt;
              &lt;xsl:choose&gt;
                &lt;xsl:when test="$IsRTL"&gt;
                  &lt;img src="/_layouts/images/icongo01RTL.gif" border="0" /&gt;
                &lt;/xsl:when&gt;
                &lt;xsl:otherwise&gt;
                  &lt;img src="/_layouts/images/icongo01.gif" border="0" /&gt;
                &lt;/xsl:otherwise&gt;
              &lt;/xsl:choose&gt;
            &lt;/td&gt;
            &lt;td class="ms-vb" valign="middle"&gt;
              &lt;a href="#"&gt;
                &lt;xsl:value-of select="$RetrieveDataText" /&gt;
              &lt;/a&gt;
            &lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
      &lt;/asp:PlaceHolder&gt;
    &lt;/div&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="dvt_1.automode"&gt;
    &lt;xsl:param name="KeyField" /&gt;
    &lt;xsl:param name="KeyValue" /&gt;
    &lt;xsl:param name="Mode" /&gt;
    &lt;table border="0" cellspacing="0" cellpadding="1"&gt;
      &lt;tr&gt;
        &lt;xsl:choose&gt;
          &lt;xsl:when test="$Mode = 'edit'"&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:when test="$Mode = 'insert'"&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb" /&gt;
            &lt;td class="ms-vb"&gt;
              &lt;a href="#"&gt;
                &lt;xsl:attribute name="onclick"&gt;
                  &lt;xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_1_form_selectkey={',$KeyValue,'}'))" /&gt;; return false;&lt;/xsl:attribute&gt;
                &lt;xsl:choose&gt;
                  &lt;xsl:when test="$dvt_1_form_selectkey = @*[name()=$ColumnKey]"&gt;
                    &lt;img border="0" style="cursor: hand" src="/_layouts/images/rbsel.gif"&gt;
                      &lt;xsl:attribute name="alt"&gt;
                        &lt;xsl:value-of select="$SelectionRadioButtonToolTip" /&gt;
                      &lt;/xsl:attribute&gt;
                    &lt;/img&gt;
                  &lt;/xsl:when&gt;
                  &lt;xsl:otherwise&gt;
                    &lt;img border="0" style="cursor: hand" src="/_layouts/images/rbunsel.gif"&gt;
                      &lt;xsl:attribute name="alt"&gt;
                        &lt;xsl:value-of select="$SelectionRadioButtonToolTip" /&gt;
                      &lt;/xsl:attribute&gt;
                    &lt;/img&gt;
                  &lt;/xsl:otherwise&gt;
                &lt;/xsl:choose&gt;
              &lt;/a&gt;
            &lt;/td&gt;
          &lt;/xsl:otherwise&gt;
        &lt;/xsl:choose&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="formatString"&gt;
    &lt;xsl:param name="stringvalue" /&gt;
    &lt;xsl:param name="separator" /&gt;
    &lt;xsl:variable name="curStr" select="substring-after($stringvalue, $separator)" /&gt;
    &lt;xsl:choose&gt;
      &lt;xsl:when test="contains($curStr, $separator)"&gt;
        &lt;xsl:value-of select="substring-before($stringvalue, $separator)" /&gt;
        &lt;xsl:value-of select="ddwrt:UrlEncode(@*[name()=substring-before($curStr, $separator)])" /&gt;
        &lt;xsl:call-template name="formatString"&gt;
          &lt;xsl:with-param name="stringvalue" select="substring-after($curStr, $separator)" /&gt;
          &lt;xsl:with-param name="separator" select="$separator" /&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:otherwise&gt;
        &lt;xsl:value-of select="$stringvalue" /&gt;
      &lt;/xsl:otherwise&gt;
    &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="OpenActionsMenu"&gt;
    &lt;xsl:param name="method" /&gt;
    &lt;xsl:param name="id" /&gt;
    &lt;xsl:param name="menuText" /&gt;
    &lt;xsl:value-of select="$method" /&gt;
    &lt;xsl:text&gt;('&lt;/xsl:text&gt;
    &lt;xsl:value-of select="$jsMenuLoadingMessage" /&gt;
    &lt;xsl:text&gt;','&lt;/xsl:text&gt;
    &lt;xsl:value-of select="ddwrt:EcmaScriptEncode($menuText)" /&gt;
    &lt;xsl:text&gt;',false,'&lt;/xsl:text&gt;
    &lt;xsl:value-of select="$jsMenuApplication" /&gt;
    &lt;xsl:text&gt;','&lt;/xsl:text&gt;
    &lt;xsl:value-of select="$jsMenuEntityNamespace" /&gt;
    &lt;xsl:text&gt;','&lt;/xsl:text&gt;
    &lt;xsl:value-of select="$jsMenuEntityName" /&gt;
    &lt;xsl:text&gt;','&lt;/xsl:text&gt;
    &lt;xsl:value-of select="ddwrt:EcmaScriptEncode($id)" /&gt;
    &lt;xsl:text&gt;', event);&lt;/xsl:text&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="_trimLF"&gt;
    &lt;xsl:param name="input" /&gt;
    &lt;xsl:choose&gt;
      &lt;xsl:when test="starts-with($input, '&amp;#xA;')"&gt;
        &lt;xsl:call-template name="_trimLF"&gt;
          &lt;xsl:with-param name="input" select="substring($input, 2)" /&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:when test="substring($input, string-length($input), 1) = '&amp;#xA;'"&gt;
        &lt;xsl:call-template name="_trimLF"&gt;
          &lt;xsl:with-param name="input" select="substring($input, 1, string-length($input)-1)" /&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:otherwise&gt;
        &lt;xsl:value-of select="$input" /&gt;
      &lt;/xsl:otherwise&gt;
    &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="_LFtoBRloop"&gt;
    &lt;xsl:param name="input" /&gt;
    &lt;xsl:variable name="beforeText" select="substring-before($input, '&amp;#xA;')" /&gt;
    &lt;xsl:choose&gt;
      &lt;xsl:when test="string-length($beforeText) = 0 and substring($input, 1, 1) != '&amp;#xA;'"&gt;
        &lt;xsl:value-of select="$input" /&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:otherwise&gt;
        &lt;xsl:value-of select="$beforeText" /&gt;
        &lt;br /&gt;
        &lt;xsl:call-template name="_LFtoBRloop"&gt;
          &lt;xsl:with-param name="input" select="substring($input, string-length($beforeText)+2)" /&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:otherwise&gt;
    &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template name="LFtoBR"&gt;
    &lt;xsl:param name="input" /&gt;
    &lt;xsl:choose&gt;
      &lt;xsl:when test="substring-before($input, '&amp;#xA;') = ''"&gt;
        &lt;xsl:value-of select="$input" /&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:otherwise&gt;
        &lt;xsl:call-template name="_LFtoBRloop"&gt;
          &lt;xsl:with-param name="input"&gt;
            &lt;xsl:call-template name="_trimLF"&gt;
              &lt;xsl:with-param name="input" select="translate($input, '&amp;#xD;', '')" /&gt;
            &lt;/xsl:call-template&gt;
          &lt;/xsl:with-param&gt;
        &lt;/xsl:call-template&gt;
      &lt;/xsl:otherwise&gt;
    &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;</property>
        <property name="ChromeState" type="chromestate">Normal</property>
        <property name="CatalogIconImageUrl" type="string" />
        <property name="HelpMode" type="helpmode">Modeless</property>
        <property name="TitleIconImageUrl" type="string" />
        <property name="PageSize" type="int">-1</property>
        <property name="Width" type="string" />
        <property name="UseSQLDataSourcePaging" type="bool">True</property>
        <property name="Title" type="string">$EntityNameproperty$ List</property>
        <property name="PageType" type="Microsoft.SharePoint.PAGETYPE, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">PAGE_NORMALVIEW</property>
        <property name="DataSourcesString" type="string">&lt;%@ Register TagPrefix="cc1" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;&lt;cc1:BdcDataSource runat="server" UpdateCommand="" ShowSampleData="False" Mode="AssociationList" EntityName="$EntityNameproperty$" Enabled="True" EntityId="0" EntityNamespace="$EntityNameSpaceproperty$" LobSystemInstanceName="$LobSystempInstanceroperty$" InsertCommand="" DeleteCommand="" SelectCommand=""&gt;&lt;/cc1:BdcDataSource&gt;
</property>
        <property name="InitialAsyncDataFetch" type="bool">False</property>
        <property name="MissingAssembly" type="string">"Missing assembly"</property>
        <property name="ShouldDisplayAnimation" type="bool">False</property>
        <property name="CacheXslStorage" type="bool">True</property>
        <property name="DisplayName" type="string" />
        <property name="XslLink" type="string" null="true" />
        <property name="AssociationName" type="string" />
        <property name="AllowClose" type="bool">True</property>
        <property name="XmlDefinition" type="string" />
        <property name="SerializedVersion" type="int">1</property>
        <property name="ParameterBindings" type="string">&lt;ParameterBinding Name="dvt_fieldsort" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_sorttype" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_filterfield" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_filterval" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_filtertype" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_nextpagedata" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_apos" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="filterParam" Location="Postback;Connection"/&gt;&lt;ParameterBinding Name="dvt_1_form_selectkey" Location="Postback;Connection"/&gt;</property>
        <property name="AutoRefresh" type="bool">False</property>
        <property name="AutoRefreshInterval" type="int">60</property>
        <property name="AsyncRefresh" type="bool">False</property>
        <property name="DataFields" type="string" />
        <property name="ListDisplayName" type="string" null="true" />
        <property name="XmlDefinitionLink" type="string" />
        <property name="CacheXslTimeOut" type="int">86400</property>
      </properties>
    </data>
  </webPart>
</webParts>

                ]]>
</AllUsersWebPart>
__END123xyz
IMContacts
__BEGIN123xyz
<View List="$WebPartName$" BaseViewID="0" WebPartOrder="$WebPartOrder$" WebPartZoneID="$Zone$" />
__END123xyz
TeamDiscussion
__BEGIN123xyz
<!-- Team Discussion web part-->
<View List="Lists/Team Discussion" BaseViewID="3" WebPartOrder="$WebPartOrder$" WebPartZoneID="$Zone$" />
__END123xyz
ReportsLib
__BEGIN123xyz
<!-- Tango Reports List View-->
<View List="ReportsLib" DisplayName="" DefaultView="FALSE" BaseViewID="1" Type="HTML" Scope="Recursive" WebPartOrder="$WebPartOrder$" WebPartZoneID="$Zone$" ID="g_22e46c7b_3088_43c5_bccf_b41919737fab" Hidden="TRUE">
</View>
__END123xyz